<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="FCK" uri="http://java.fckeditor.net" %>
<%@ page import="CommunityController.*,java.util.*, java.io.*,java.sql.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/KOMORIUTA/css/photo.css">
<link rel="stylesheet" type="text/css" href="/KOMORIUTA/Mypage/Css/MpBord.css">

</head>
<%
String nick=(String)session.getAttribute("Mem_Nick");
BCBoardBean bCBoardBean=(BCBoardBean)session.getAttribute("bCBoardBean");
%>
<body>
<form action="BCBoardAction.do" method="post">
<input type="hidden" name="action" value="cm_bc_modify" />
<input type="hidden" name="id" value="<%= bCBoardBean.getId() %>" />
<input type="hidden" name="nick" value="<%= nick %>" />


<table width="700" cellpadding="0" cellspacing="0" style="border: 1px solid #e6e6e6;">
	<tr height="60">
		<td width="10">&nbsp;</td>
		<td colspan="2">
			&nbsp;&nbsp;<img alt="" src="<%=request.getContextPath() %>/photo/img/Komori_Logo.png">
		</td>
		<td width="10">&nbsp;</td>
	</tr>
	
	<tr>
		<td width="10">&nbsp;</td>
		<td>
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Cm_Free_Board_2.png">
			
		</td>
		<td align="left">
			<input type="text" name="bc_title" size="80" value="<%= bCBoardBean.getBc_title() %>" />
		</td>
		<td width="10">&nbsp;</td>
	</tr>
	
	<tr><td colspan="4">&nbsp;</td></tr>
	<tr>
		<td width="10">&nbsp;</td>
		<td colspan="2">
		<FCK:editor instanceName="bc_contents"  toolbarSet="MyToolbarSet" height="450" value="<%=  bCBoardBean.getBc_contents()%>"> </FCK:editor> 
		</td>
		<td width="10">&nbsp;</td>	
	</tr>
	
	<tr height="40">
		<td width="10">&nbsp;</td>
		<td colspan="2" valign="middle">
			<input type="submit" class="btn_Ok" value=""/>
			<a href="/KOMORIUTA/BCBoardAction.do?action=cm_bc_list&nick=<%=nick %>"><img src="/KOMORIUTA/photo/img/Cm_Free_Read_list.png"></a>
		</td>
		<td width="10">&nbsp;</td>
	</tr>
</table>
</form>
</body>
</html>